package com.dalin.framework.dao.imple;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.springframework.orm.jpa.support.JpaDaoSupport;

import com.dalin.common.pager.PageQuery;
import com.dalin.framework.dao.DbDao;

/*****************************************************************************
 * @content: 框架级通用数据库访问接口具体hibernate实现                                                                  *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-04-28                                                     *
 * @modDate: 2010-04-28                                                     *
 * @version: 1.3                                                            *
 ****************************************************************************/
public class JpaDaoImple extends JpaDaoSupport implements DbDao {

	public int bulkUpdate(String hql) {
		// TODO Auto-generated method stub
		return 0;
	}

	public void createObj(Object entity) throws Exception {
		// TODO Auto-generated method stub
		
	}

	public void createOrUpdateObj(Object entity) {
		// TODO Auto-generated method stub
		
	}

	public void createOrUpdateObjs(Collection col) {
		// TODO Auto-generated method stub
		
	}

	public void deleteAllObjs(Class<?> c) {
		// TODO Auto-generated method stub
		
	}

	public void deleteObj(Object entity) {
		// TODO Auto-generated method stub
		
	}

	public void deleteObjs(Class<?> c, String[] delIdArray) {
		// TODO Auto-generated method stub
		
	}

	public void deleteObjs(Class<?> c, Long[] delIdArray) {
		// TODO Auto-generated method stub
		
	}

	public void deleteObjs(Collection col) {
		// TODO Auto-generated method stub
		
	}

	

	public int getTotalRowsNum(PageQuery pageQuery) {
		// TODO Auto-generated method stub
		return 0;
	}

	public List queryAllObjs(Class<?> c) {
		// TODO Auto-generated method stub
		return null;
	}

	public List queryEqualObjs(Class<?> c, String paramName, Object paramValue) {
		// TODO Auto-generated method stub
		return null;
	}

	public List queryLikeObjs(Class<?> c, String paramName, String paramValue) {
		// TODO Auto-generated method stub
		return null;
	}

	public List queryMapDataBySql(String sql) {
		// TODO Auto-generated method stub
		return null;
	}

	public List queryObjs(String hqlStr) {
		// TODO Auto-generated method stub
		return null;
	}

	public List queryObjsToPages(PageQuery pageQuery) {
		// TODO Auto-generated method stub
		return null;
	}

	public void updateObj(Object entity) {
		// TODO Auto-generated method stub
		
	}

	public List<Map> queryData(String sql) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	public <N> N findObjById(Class<N> c, Long objId) {
		// TODO Auto-generated method stub
		return null;
	}

	public <N> N findObjById(Class<N> c, String objId) {
		// TODO Auto-generated method stub
		return null;
	}

}